import {Route, Switch} from "react-router";
import React from 'react';
import Main from "../pages/main";
import Login from "../pages/login"; // 导入store
import SignUp from '../pages/signup'
const Routes = () => (
    <Switch>
        <Route path={"/signup"} component={SignUp}/>
        <Route path={"/main"} component={Main}/>
        <Route path={"/"} component={Login}/>
    </Switch>
)

export default Routes;